#ifndef USERAUTH_HPP
#define USERAUTH_HPP

#include "global.hpp"

class UserAuth
{
public:
    bool Authenticate(const std::string &user,
                      const std::string &pass);

private:
    // 简单实现：用户名->密码的map
    std::unordered_map<std::string, std::string> users_;
};

#endif // USERAUTH_HPP